<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConfirmOrder.aspx.cs" Inherits="WebAppTest.ConfirmOrder" %>
<%@ Import Namespace="WebAppTest.Shopping.Domain"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link type="text/css" href="../style.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        Unit cost: <%= ShoppingCart.UnitPrice.ToString("0.00$") %><br />
        Quantity: <%= ShoppingCart.UnitQuantity %><br />
        Total: <span id="totalPrice"><%= ShoppingCart.TotalPrice().ToString("0.00$") %></span><br />
    
        <select id="shippingMethod" runat="server">
            <option>express mail</option>
            <option>snail mail</option>
        </select>
        <asp:Button ID="submitOrder" runat="server" Text="Submit Order"  OnClick="submitOrder_Click"/>
        
    </div>
    </form>
</body>
</html>
